<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class ShopApplyHair extends Model
{
    //自定义表名
    protected $table = 'shops_apply_hair';
    public $timestamps = false;
    protected $fillable = [
        'hairtype','hairsex','remark','hairurl','senddate','shopid','status'
    ];
    //时间戳转变成时间
    public function getSenddateAttribute($value){
        return date('Y-m-d',$value);
    }
}
